﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="SelectAgentDialog.aspx.cs" Inherits="ZLCMS.Web.SystemManage.Basics.Shop.Agent.SelectAgentDialog" %>


<%@ Import Namespace ="ZLCMS.Business.Util" %>

<%=_framePage.GetPagerFormHtml(Request.RawUrl)%>

<form id="pageForm" method="post" class="pageForm" runat="Server" onsubmit="return dwzSearch(this, 'dialog');"
action="/SystemManage/Basics/Shop/Agent/SelectAgentDialog.aspx">
<div class="pageHeader">
	<div class="searchBar">
    
		<table class="searchContent">
	        <tr>  
				<td align=right>
					角色：</td>
				<td align=left><asp:dropdownlist runat="server" id="role" cond="role" class="combox"></asp:dropdownlist></td>
				<td align=right>
					名称：</td>
				<td  align=left><asp:TextBox ID="name" runat="server" cond="name" width="80"></asp:TextBox></td>
				<td align=right>
					帐号：</td>
				<td  align=left><asp:TextBox ID="code" runat="server" cond="code" width="80"></asp:TextBox></td>
			</tr>
		</table>
	    <div class="subBar">
			<ul>
		<%--	<li>
			    <a class="button" href="<%= Request.Path %>" onclick="ZLAN_DWZ_EX.query(this);" 
			    target="navTab" rel="<%= _framePage.NavTabId %>" title="<%= _framePage.NavTabTitle %>"><span>&nbsp;查&nbsp;询&nbsp;</span></a>
			</li>--%>
            
				<li><div class="buttonActive"><div class="buttonContent"><button type="submit">&nbsp;查&nbsp;询&nbsp;</button></div></div></li>
			
			</ul>
	    </div>
	</div>
</div>
</form>

<div class="pageContent">   
   	<div class="panelBar">
		<ul class="toolBar">
			<%--<li><a class="add"  href="/SystemManage/Basics/RightConfig/User/UserDetail.aspx"  target="navTab" rel="UserDetail" title="用户明细"><span>添加</span></a></li>--%>
            <%--<li><a class="delete" href="/SystemManage/Basics/Shop/Member/MemberDelete.aspx" target="selectedTodo" title="请确定要删除勾选会员"><span>删除</span></a></li>--%>
		
        </ul>
	</div>
	<div class="tableList"   layoutH="116">
	<table class="list" targetType="navTab" asc="asc" desc="desc">
	    <thead>
			<tr>
                <th width="22px"><input type="checkbox" group="ids" class="checkboxCtrl"/></th>
				<th width="100px">帐号</th>
				<th width="100px">姓名</th>
				<th width="100px">角色</th>
				<th align=center>选择</th>
			</tr>
		</thead>
		<tbody>
            <asp:repeater runat="server" id="repeater1">
                <ItemTemplate>
			    <tr target="uid" rel=<%# Eval("UserId")%>>
                    <td><input name="ids" value="<%#Eval("UserId")%>" type="checkbox"/></td>
				    <td><%# Eval("UserCode")%></td>
				    <td><%# Eval("UserName")%></td>
				    <td><%# Eval("RoleName")%></td>
                    
				    <td align=center> 
                    <a class="btnSelect" href="javascript:$.bringBack({Account:'<%# Eval("UserCode") %>', Name:'<%# Eval("UserName")%>'})" title="选择">选择</a>
				     </td>
			    </tr>
                </ItemTemplate>
            </asp:repeater>
		</tbody>
	</table>

	</div>
	
    
    
<%= _framePage.GetPagerContentHtml("dialog")%>
</div>
